package com.example.entity.dto.pc;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "添加生产线")
@Data
public class AddProductLineDto {

    /**
     * 设备编号
     */
    @ApiModelProperty(value = "生产线编号")
    @JsonProperty("productLineNo")
    private String deviceid;

    /**
     * 设备名称
     */
    @ApiModelProperty(value = "生产线名称")
    @JsonProperty("productLineName")
    private String devicename;

    @ApiModelProperty(value = "是否为固定线，不是则为变动线 (1为固定线，0为变动线)", required = true)
    @TableField("fixedLine")
    private Integer fixedLine;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

//    @ApiModelProperty(value = "工厂ID")
//    private Integer factoryId;

    @ApiModelProperty(value = "资源组ID")
    private Integer resourceGroupId;

}
